Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 9 - Camera Objects / Camera Objects Reference
Camera Objects Routines / Managing Aspect Ratio Cameras


Q3ViewAngleAspectCamera_GetAspectRatio

You can use the Q3ViewAngleAspectCamera_GetAspectRatio function to get the aspect ratio of an aspect ratio camera.

TQ3Status Q3ViewAngleAspectCamera_GetAspectRatio (
TQ3CameraObject camera, 
float *aspectRatioXToY);
camera
An aspect ratio camera object.
aspectRatioXToY
On exit, the horizontal-to-vertical aspect ratio of the specified camera.
DESCRIPTION
The Q3ViewAngleAspectCamera_GetAspectRatio function returns, in the aspectRatioXToY parameter, the horizontal-to-vertical aspect ratio of the aspect ratio camera specified by the camera parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996